#pragma once

typedef int buffer_err;

#define RING_BUFFER_OK 0
#define RING_BUFFER_FAIL (-1)

#ifndef RING_BUFFER_BASE
#define RING_BUFFER_BASE 100
#endif
// #define LOG_ERR_BASE_SYSTEM (LOG_ERR_BASE)